import { CoolController, BaseController, CoolTag } from '@cool-midway/core';
import { Body, Get, Inject, Post, Query } from '@midwayjs/core';
import { BizWorkerWorkDatesEntity } from '../../entity/workDates';
import { BizWorkerWorkDatesService } from '../../service/workDates';

/**
 * 排期列表
 */
@CoolController({
  api: ['add', 'delete', 'update', 'info', 'list', 'page'],
  entity: BizWorkerWorkDatesEntity,
  service: BizWorkerWorkDatesService,
  pageQueryOp: {
    fieldEq: ['workerId'],
    keyWordLikeFields: [],
  },
})
export class BizWorkerWorkDatesController extends BaseController {
  @Inject()
  bizWorkerWorkDatesService: BizWorkerWorkDatesService;
}
